@import "../../css/var.less";
@import "mallpublic.less";


@hrcolor:#dfdfdf;
@color009ea3:#009ea3;
@coloreeeeee:#eeeeee;
@colorff440a:#ff440a;
.cart{
    background-color: #f9f9f9;
}
.cartMain{
    .w1200;
    padding: 20px 0 70px;
    
    span,p,div{
        font-size: 14px;
        color:#202020; 
    }
    .mainTopBar{
        height: 40px;
        line-height: 40px;
        border-bottom: 1px solid @hrcolor;
        color: @color009ea3;
        li{
            .fl;
            padding:0 15px;
            font-weight: 600;
        }
    }
    .carthThead{
        height: 36px;
        line-height: 36px;
        .headItem{
            .fl;
        }
        .checkAll{
            width: 180px;
            padding-left:15px; 
        }
        .goods{
            width: 420px;
        }
        .price{
            width: 270px;
        }
        .num{
            width: 240px;
        }
    }
    .item-list{
        background-color: #fff;
        margin-bottom: 20px;
        .item-head{
            height: 50px;
            line-height: 50px;
            border-bottom: 1px solid @hrcolor;
            padding-left: 20px;
            .callService{
                cursor: pointer;
                margin-left: 20px;
                .fl;
                i{
                    color: @color009ea3;
                    margin-right: 5px;
                }
                span{
                    color: #666;
                }
            }
        }
        .item{
            padding:20px 0 0 20px;
            height: 130px;
            position: relative;
            border-bottom: 1px solid #eeeeee;
            .select{
                .fl;
                width: 34px;
            }
            .i-goods{
                width: 460px;
                .fl;
                .imgBox{
                    .fl;
                    width: 88px;
                    height: 88px;
                    border:1px solid @coloreeeeee;
                    img{
                        width: 100%;
                    }
                }
                .msgBox{
                    margin-left: 100px;
                    .g-name{
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        overflow: hidden;
                        display: block;
                        color: #202020;
                    }
                }
            }
            .i-price{
                width: 240px;
                text-align: center;
                .fl;
            }
            .i-num{
                width: 260px;
                .fl;
                text-align: center;
            }
            .i-subtotal{
                .fr;
                h5{
                    text-align: right;
                    font-size: 18px;
                    padding-right: 10px;
                    font-weight: 600;
                    color: @colorff440a;
                }
            }
            .operation{
                width:106px;
                height: 32px;
                background-color: #fafafa;
                position: absolute;
                right: 0;
                bottom: 0;
                line-height: 32px;
                text-align: center;
                .iconfont {
                    color: #a1a1a1;
                    margin:0 auto;
                    &:hover{
                        color:@color009ea3; 
                    }
                }
                .el-button{
                    border: none;
                    background: none;
                    text-align: left;
                    padding: 0;
                    word-break: break-all;
                }
            }
        }
   }
   .cartToolBar{
       height: 56px;
       background-color: #eee;
       line-height: 50px;
       margin-bottom: 30px;
       .leftBox{
           .fl;
           .checkAll{
               .fl;
               width: 80px;
               margin-left: 20px;
           }
           .operation{
               .fl;
               span{
                   margin-right: 50px;
                   cursor: pointer;
               }
           }
       }
       .rightBox{
           .fr;
           height: 100%;
           &>span{
               margin-right: 46px;
               em{
                   font-size: 20px;
                   font-style: normal;
                   color: @colorff440a;
                   font-weight: 600;
               }
           }
           .settlement{
               display: inline-block;
               height: 100%;
               width: 146px;
               text-align: center;
               color: #fff;
               background-color: @color009ea3;
               cursor: pointer;
               font-size: 16px;
               line-height: 56px;
           }
       }
   }
}
.el-tooltip__popper.is-dark {
    background: #c8e3e4;
    font-size: 13px;
    color: #202020;
    border: 1px solid #0db4b9;
    max-width: 244px;
    padding: 10px;
    line-height: 20px;
}